<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>IFOnlyRT: Référence de la classe CVector2&lt; T &gt; (modèle)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Liste&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Membres&nbsp;de&nbsp;classe</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe CVector2&lt; T &gt; (modèle)</h1><!-- doxytag: class="CVector2" --><code>#include &lt;<a class="el" href="CVector2_8hpp-source.html">CVector2.hpp</a>&gt;</code>
<p>

<p>
<a href="classCVector2-members.html">Liste de tous les membres</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#25313de2a839679fe62282c35f15d5f8">CVector2</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#6e14105211482dc66f9cb5cc3ae1561c">CVector2</a> (const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;Copy)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#ca8bd9f2812a5880dad1320b7a0fc6ff">CVector2</a> (const T &amp;vX, const T &amp;vY)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#b5392e3374d99a0f574dce36967605f8">CVector2</a> (const T &amp;Value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#b6b7aaddd96c2a3bbb47daaab1fb7ef2">GetModulus</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#44a70eb4da431c74c813e86298e580ee">GetSquaredModulus</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#df5870d345b064343d0f3fd249c1af0c">Normalize</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#189caf5c2ae8301e53cd45aa13786158">GetNormalized</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#f1bce3115171d4339dd01869507123b0">operator=</a> (const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;V2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#bbab39aa64ac6745169fecb00afab745">operator[]</a> (const uint i)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#0c88135bcc5765b5b9c51a94288a6678">operator+</a> (const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;V2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#9e00d607efdc27b433b5500798a5f42c">operator+=</a> (const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;V2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#f08b687ba5a89b6e1e3629aa45372ad5">operator-</a> (const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;V2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#18ded90e51b0c350ab78e8b4315d8dc9">operator-=</a> (const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;V2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#b73a38dc9707f72f9846dfa30a80f14e">operator*</a> (const T Scalar)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#02d5706206b31f45721bb144416347f3">operator*=</a> (const T Scalar)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#89249e791cb4edb7ebf110f78ce590de">operator/</a> (const T Scalar)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#692f6a9a9c3257be5277844cfad4eccd">operator/=</a> (const T Scalar)</td></tr>

<tr><td colspan="2"><br><h2>Fonctions membres publiques statiques</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#a744c9c8839ce90dff90df3c5783cadb">Dot</a> (const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;V1, const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;V2)</td></tr>

<tr><td colspan="2"><br><h2>Attributs publics</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#8af35f00b4fe14bc4a38f6307815b345">X</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#ce81ef6e58dfbc8bfc6a8a65a80d6b43">Y</a></td></tr>

<tr><td colspan="2"><br><h2>Attributs publics statiques</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#b172de535c6851c64fbf3355a8ee3d81">Zero</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCVector2.html#8a1b86cf6dea2364928ccf7c11496903">One</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Description détaillée</h2>
<h3>template&lt;typename T = double&gt;<br>
 class CVector2&lt; T &gt;</h3>

Classe <a class="el" href="classCVector2.html">CVector2</a> : Gère les vecteurs à 2 dimensions dans un repère MAIN DROITE. <dl class="author" compact><dt><b>Auteur:</b></dt><dd>Maxime Gaudin </dd></dl>
<hr><h2>Documentation des constructeurs et destructeur</h2>
<a class="anchor" name="25313de2a839679fe62282c35f15d5f8"></a><!-- doxytag: member="CVector2::CVector2" ref="25313de2a839679fe62282c35f15d5f8" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::<a class="el" href="classCVector2.html">CVector2</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructeur de <a class="el" href="classCVector2.html">CVector2</a> non initialisé X = Y = 0. 
</div>
</div><p>
<a class="anchor" name="6e14105211482dc66f9cb5cc3ae1561c"></a><!-- doxytag: member="CVector2::CVector2" ref="6e14105211482dc66f9cb5cc3ae1561c" args="(const CVector2&lt; T &gt; &amp;Copy)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::<a class="el" href="classCVector2.html">CVector2</a>           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>Copy</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructeur de copie de <a class="el" href="classCVector2.html">CVector2</a> 
</div>
</div><p>
<a class="anchor" name="ca8bd9f2812a5880dad1320b7a0fc6ff"></a><!-- doxytag: member="CVector2::CVector2" ref="ca8bd9f2812a5880dad1320b7a0fc6ff" args="(const T &amp;vX, const T &amp;vY)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::<a class="el" href="classCVector2.html">CVector2</a>           </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&nbsp;</td>
          <td class="paramname"> <em>vX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&nbsp;</td>
          <td class="paramname"> <em>vY</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructeur de <a class="el" href="classCVector2.html">CVector2</a> initialisé <dl compact><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>vX</em>&nbsp;</td><td>= Valeur X du vecteur. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>vY</em>&nbsp;</td><td>= Valeur Y du vecteur. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="b5392e3374d99a0f574dce36967605f8"></a><!-- doxytag: member="CVector2::CVector2" ref="b5392e3374d99a0f574dce36967605f8" args="(const T &amp;Value)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::<a class="el" href="classCVector2.html">CVector2</a>           </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&nbsp;</td>
          <td class="paramname"> <em>Value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructeur de <a class="el" href="classCVector2.html">CVector2</a> initialisé <dl compact><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Value</em>&nbsp;</td><td>: X = Y = Z = Value. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Documentation des fonctions membres</h2>
<a class="anchor" name="a744c9c8839ce90dff90df3c5783cadb"></a><!-- doxytag: member="CVector2::Dot" ref="a744c9c8839ce90dff90df3c5783cadb" args="(const CVector2&lt; T &gt; &amp;V1, const CVector2&lt; T &gt; &amp;V2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static T <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::Dot           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>V1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>V2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Fonction statique Dot : C'est le produit scalaire usuel. <dl class="return" compact><dt><b>Renvoie:</b></dt><dd>Renvoi le produit scalaire de V1 et V2, c'est à dire la somme du produit des composantes de V1 et V2. </dd></dl>

</div>
</div><p>
<a class="anchor" name="b6b7aaddd96c2a3bbb47daaab1fb7ef2"></a><!-- doxytag: member="CVector2::GetModulus" ref="b6b7aaddd96c2a3bbb47daaab1fb7ef2" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::GetModulus           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Renvoi la norme du vecteur : La norme est calculé comme la racine carré de la somme des carrés de ses composantes. 
</div>
</div><p>
<a class="anchor" name="189caf5c2ae8301e53cd45aa13786158"></a><!-- doxytag: member="CVector2::GetNormalized" ref="189caf5c2ae8301e53cd45aa13786158" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::GetNormalized           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Renvoi le vecteur normalisé. 
</div>
</div><p>
<a class="anchor" name="44a70eb4da431c74c813e86298e580ee"></a><!-- doxytag: member="CVector2::GetSquaredModulus" ref="44a70eb4da431c74c813e86298e580ee" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::GetSquaredModulus           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Renvoi la norme au carré : La norme au carré est calculé comme la somme des carrés de ses composantes. Calculer le carré de la norme est plus économique en terme de calculs. 
</div>
</div><p>
<a class="anchor" name="df5870d345b064343d0f3fd249c1af0c"></a><!-- doxytag: member="CVector2::Normalize" ref="df5870d345b064343d0f3fd249c1af0c" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::Normalize           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Normalise le vecteur : Divise chaque coordonnée par la norme du vecteur. 
</div>
</div><p>
<a class="anchor" name="b73a38dc9707f72f9846dfa30a80f14e"></a><!-- doxytag: member="CVector2::operator*" ref="b73a38dc9707f72f9846dfa30a80f14e" args="(const T Scalar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator*           </td>
          <td>(</td>
          <td class="paramtype">const T&nbsp;</td>
          <td class="paramname"> <em>Scalar</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur * : Multiplie membre à membre un <a class="el" href="classCVector2.html">CVector2</a> par un scalaire 
</div>
</div><p>
<a class="anchor" name="02d5706206b31f45721bb144416347f3"></a><!-- doxytag: member="CVector2::operator*=" ref="02d5706206b31f45721bb144416347f3" args="(const T Scalar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator*=           </td>
          <td>(</td>
          <td class="paramtype">const T&nbsp;</td>
          <td class="paramname"> <em>Scalar</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur *= : Multiplie membre à membre un <a class="el" href="classCVector2.html">CVector2</a> par un scalaire 
</div>
</div><p>
<a class="anchor" name="0c88135bcc5765b5b9c51a94288a6678"></a><!-- doxytag: member="CVector2::operator+" ref="0c88135bcc5765b5b9c51a94288a6678" args="(const CVector2&lt; T &gt; &amp;V2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator+           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>V2</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur + : Ajoute membre à membre deux <a class="el" href="classCVector2.html">CVector2</a> 
</div>
</div><p>
<a class="anchor" name="9e00d607efdc27b433b5500798a5f42c"></a><!-- doxytag: member="CVector2::operator+=" ref="9e00d607efdc27b433b5500798a5f42c" args="(const CVector2&lt; T &gt; &amp;V2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator+=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>V2</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur += : Ajoute membre à membre deux <a class="el" href="classCVector2.html">CVector2</a> 
</div>
</div><p>
<a class="anchor" name="f08b687ba5a89b6e1e3629aa45372ad5"></a><!-- doxytag: member="CVector2::operator&#45;" ref="f08b687ba5a89b6e1e3629aa45372ad5" args="(const CVector2&lt; T &gt; &amp;V2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator-           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>V2</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur - : Soustrait membre à membre deux <a class="el" href="classCVector2.html">CVector2</a> 
</div>
</div><p>
<a class="anchor" name="18ded90e51b0c350ab78e8b4315d8dc9"></a><!-- doxytag: member="CVector2::operator&#45;=" ref="18ded90e51b0c350ab78e8b4315d8dc9" args="(const CVector2&lt; T &gt; &amp;V2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator-=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>V2</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur -= : Soustrait membre à membre deux <a class="el" href="classCVector2.html">CVector2</a> 
</div>
</div><p>
<a class="anchor" name="89249e791cb4edb7ebf110f78ce590de"></a><!-- doxytag: member="CVector2::operator/" ref="89249e791cb4edb7ebf110f78ce590de" args="(const T Scalar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator/           </td>
          <td>(</td>
          <td class="paramtype">const T&nbsp;</td>
          <td class="paramname"> <em>Scalar</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur / : Divise membre à membre un <a class="el" href="classCVector2.html">CVector2</a> par un scalaire 
</div>
</div><p>
<a class="anchor" name="692f6a9a9c3257be5277844cfad4eccd"></a><!-- doxytag: member="CVector2::operator/=" ref="692f6a9a9c3257be5277844cfad4eccd" args="(const T Scalar)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator/=           </td>
          <td>(</td>
          <td class="paramtype">const T&nbsp;</td>
          <td class="paramname"> <em>Scalar</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur /= : Divise membre à membre un <a class="el" href="classCVector2.html">CVector2</a> par un scalaire 
</div>
</div><p>
<a class="anchor" name="f1bce3115171d4339dd01869507123b0"></a><!-- doxytag: member="CVector2::operator=" ref="f1bce3115171d4339dd01869507123b0" args="(const CVector2&lt; T &gt; &amp;V2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>V2</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur = : Opérateur d'affectation 
</div>
</div><p>
<a class="anchor" name="bbab39aa64ac6745169fecb00afab745"></a><!-- doxytag: member="CVector2::operator[]" ref="bbab39aa64ac6745169fecb00afab745" args="(const uint i)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::operator[]           </td>
          <td>(</td>
          <td class="paramtype">const uint&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opérateur [] : [0] = X, [1] = Y 
</div>
</div><p>
<hr><h2>Documentation des données membres</h2>
<a class="anchor" name="8a1b86cf6dea2364928ccf7c11496903"></a><!-- doxytag: member="CVector2::One" ref="8a1b86cf6dea2364928ccf7c11496903" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::<a class="el" href="classCVector2.html#8a1b86cf6dea2364928ccf7c11496903">One</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Vecteur unitaire : Vecteur dont toutes les composantes sont à 1. 
</div>
</div><p>
<a class="anchor" name="8af35f00b4fe14bc4a38f6307815b345"></a><!-- doxytag: member="CVector2::X" ref="8af35f00b4fe14bc4a38f6307815b345" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::<a class="el" href="classCVector2.html#8af35f00b4fe14bc4a38f6307815b345">X</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Attribut X : Composante X du vecteur. 
</div>
</div><p>
<a class="anchor" name="ce81ef6e58dfbc8bfc6a8a65a80d6b43"></a><!-- doxytag: member="CVector2::Y" ref="ce81ef6e58dfbc8bfc6a8a65a80d6b43" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::<a class="el" href="classCVector2.html#ce81ef6e58dfbc8bfc6a8a65a80d6b43">Y</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Attribut Y : Composante Y du vecteur. 
</div>
</div><p>
<a class="anchor" name="b172de535c6851c64fbf3355a8ee3d81"></a><!-- doxytag: member="CVector2::Zero" ref="b172de535c6851c64fbf3355a8ee3d81" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T = double&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classCVector2.html">CVector2</a>&lt;T&gt; <a class="el" href="classCVector2.html">CVector2</a>&lt; T &gt;::<a class="el" href="classCVector2.html#b172de535c6851c64fbf3355a8ee3d81">Zero</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Vecteur nulle : Vecteur dont toutes composantes sont à Zero. 
</div>
</div><p>
<hr>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>/home/digitalguru/IFOnlyRT$/IFOnlyRT/Basics/<a class="el" href="CVector2_8hpp-source.html">CVector2.hpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Généré le Thu Oct 22 19:37:51 2009 pour IFOnlyRT par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>
